<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo $this->baseUrl;?>/admincss/mstyle.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseUrl;?>/css/front.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseUrl;?>/js/jquery-ui/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script>
<?php if($this->change){?>

alert("修改成功");
<?php }?>
</script>
<form method="post" action="<?php echo $this->url($this->baseUrl, 'manage', 'upchange', 'uid='.$this->uid. '&mid=' . $this->mid); ?>">
<table  width="100%" border="1" class="tableA">
                  <tr>
                    <th><span class="c_red">*</span> E-mail：</th>
                    <td><input name="email" id="email" value="<?php echo $this->uinfo['email'];?>" readonly="readonly" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 英文姓：</th>
                    <td><input name="enfname" id="enfname" value="<?php echo $this->uinfo['enfname']; ?>" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 英文名：</th>
                    <td><input name="enlname" id="enlname" value="<?php echo $this->uinfo['enlname'];?>" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 中文姓名：</th>
                    <td><input name="name" id="name" size="40" value="<?php echo $this->uinfo['name'];?>" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 性别：</th>
                    <td>
                    	<select name="gender" id="gender">
                    	  <option value="1">男</option>
                    	  <option value="2" <?php if ($this->uinfo['gender'] == 2){?>selected="selected"<?php }?>>女</option>
                        </select>
                    </td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 国家或地区：</th>
                    <td>
                    	<select name="nation" id="nation">
<?php foreach($this->nations as $v){
$selected = "";
if ($this->uinfo['nation'] == $v)
	$selected = "selected=\"selected\"";
echo <<<EOT
<option value="{$v}" {$selected}>{$v}</option>
EOT;
}?>
                        </select>
                    </td>
                  </tr>
                  <tr>
                    <th>出生日期：</th>
                    <td><input name="birth" id="birth" value="<?php echo substr($this->uinfo['birth'], 0, 10);?>" size="20" type="text" class="input_style f_l" style="margin-right:5px;"/></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 身份证/护照号码：</th>
                    <td><input name="idcode" id="idcode" size="40" type="text" value="<?php echo $this->uinfo['idcode'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 工作单位（中文名称）：</th>
                    <td><input name="unit" id="unit" size="40" type="text" value="<?php echo $this->uinfo['unit'];?>" class="input_style" /></td>
                  </tr>
                  
                  <tr>
                    <th>工作单位（英文名称）：</th>
                    <td><input name="cnunit" id="cnunit" size="40" type="text" value="<?php echo $this->uinfo['cnunit'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 职务（中文名称）：</th>
                    <td><input name="headphoto" id="headphoto" size="40" type="text" value="<?php echo $this->uinfo['headphoto'];?>" class="input_style" /></td>
                  </tr>
                  
                  <tr>
                    <th>职务（英文名称）：</th>
                    <td><input name="idphoto" id="idphoto" size="40" type="text" value="<?php echo $this->uinfo['idphoto'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 联系电话：</th>
                    <td><input name="phone" id="phone" size="40" type="text" value="<?php echo $this->uinfo['phone'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th>传真：</th>
                    <td><input name="fax" id="fax" size="40" type="text" value="<?php echo $this->uinfo['fax'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 联系地址：</th>
                    <td><input name="address" id="address" size="40" type="text" value="<?php echo $this->uinfo['address'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 邮政编码：</th>
                    <td><input name="pcode" id="pcode" size="40" type="text" value="<?php echo $this->uinfo['pcode'];?>" class="input_style" /></td>
                  </tr>
                  <tr <?php if ($this->isclose){echo "style='display:none'";}?>>
                    <th></th>
                    <td><input name="form_submit" id="btn_reg" type="submit" value="提 交" class="btn_blue30 line_bg_all" /></td>
                  </tr>
                </table>
                </form>
                
                
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script>
$(function() {
	var currentYear = new Date().getFullYear();
	var yearRange = (currentYear - 100) + ":" + currentYear;
	$("#birth").datepicker({buttonImageOnly: true,buttonImage: "images/calendar.png",showOn: "button",
		changeMonth:true, changeYear: true,yearRange: yearRange,constrainInput:true,constrainInput:true});	
});
</script>
</body>
</html>
